/* Main container styling */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    
    border-radius: 8px;
    
}
/* Account Section */
.account {
	background-color:rgb(18, 103, 109);
    padding: 40px 0;
}

.register {
    background: rgb(19, 165, 172);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Section header styling */
.register-top-grid h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.register-top-grid h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Flex container for parallel forms */
.forms-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

/* Individual form sections */
.form-section {
    flex: 1;
    padding: 15px;
    background-color: rgb(19, 165, 172);

    border-radius: 6px;
}

/* Input field styling */
.input {
    margin-bottom: 15px;
}

.input span {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.input input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Submit button styling */
.register-but {
    margin-top: 20px;
    text-align: center;
    
}

.register-but input[type="submit"] {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-but input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Alert messages */
.alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Clearfix for alignment */
.clearfix {
    clear: both;
}

/* Centering and styling for the container */
.register-but.text-center {
    margin-top: 20px;
    text-align: center;
}

/* Styling for the "返回首页" link */
.register-but .navbar-brand a {
    font-size: 18px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Hover effect for the link */
.register-but .navbar-brand a:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

/* Clearfix to handle floating elements */
.register-but .clearfix {
    clear: both;
}


